EA11y\Modules\Legacy\Components\Upgrade S

Total Complexity 32
Dependencies 4
Dependents 4
Total lines 653
Lines of code 545
Logical lines of code 96
Comment lines 67
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
maybe_add_introduction_modal()
A
33 5 179
maybe_add_confirmation_modal()
A
34 4 172
maybe_render_pointer()
A
41 5 71
has_legacy_data()
S
47 3 40
handle_ajax_upgrade()
S
57 4 16
add_deprecated_notice_to_customizer_section_description()
S
57 1 19
register_notices()
S
65 2 10
upgrade()
S
76 1 4
revert()
S
76 1 4
is_upgraded()
S
78 1 3
is_reverted()
S
78 1 3
is_legacy_page()
S
78 1 3
get_learn_more_link()
S
68 1 7
get_switch_now_link()
S
70 1 6
__construct()
S
65 1 8